package com.yiyahui.project.erp.service;

import java.util.List;

import com.yiyahui.framework.web.domain.AjaxResult;
import com.yiyahui.project.erp.domain.YiyaResourceShadow;
import com.yiyahui.project.erp.domain.requestVo.YiyaBatchAddResourceShadow;

/**
 * 影像资源Service接口
 * 
 * @author yiyahui
 * @date 2020-05-16
 */
public interface IYiyaResourceShadowService 
{
    /**
     * 查询影像资源
     * 
     * @param id 影像资源ID
     * @return 影像资源
     */
    public YiyaResourceShadow selectYiyaResourceShadowById(Long id);

    /**
     * 查询影像资源列表
     * 
     * @param yiyaResourceShadow 影像资源
     * @return 影像资源集合
     */
    public List<YiyaResourceShadow> selectYiyaResourceShadowList(YiyaResourceShadow yiyaResourceShadow);

    /**
     * 新增影像资源
     * 
     * @param yiyaResourceShadow 影像资源
     * @return 结果
     */
    public int insertYiyaResourceShadow(YiyaResourceShadow yiyaResourceShadow);

    /**
     * 修改影像资源
     * 
     * @param yiyaResourceShadow 影像资源
     * @return 结果
     */
    public int updateYiyaResourceShadow(YiyaResourceShadow yiyaResourceShadow);

    /**
     * 批量删除影像资源
     * 
     * @param ids 需要删除的影像资源ID
     * @return 结果
     */
    public int deleteYiyaResourceShadowByIds(Long[] ids);

    /**
     * 删除影像资源信息
     * 
     * @param id 影像资源ID
     * @return 结果
     */
    public int deleteYiyaResourceShadowById(Long id);

    AjaxResult batchInsertYiyaResourceShadow(YiyaBatchAddResourceShadow yiyaBatchAddResourceShadow) throws Exception ;
}
